package com.legendframework.core.dao;

import com.legendframework.core.dao.enums.DataType;

import javax.sql.DataSource;

public class DataResources {

    /**
     * 数据类型
     */
    private DataType dataType;

    /**
     * yaml格式父路径
     */
    private String yamlParentPath;

    /**
     * Mysql数据源
     */
    private DataSource dataSource;

    public DataType getDataType() {
        return dataType;
    }

    public void setDataType(DataType dataType) {
        this.dataType = dataType;
    }

    public String getYamlParentPath() {
        return yamlParentPath;
    }

    public void setYamlParentPath(String yamlParentPath) {
        this.yamlParentPath = yamlParentPath;
    }

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }
}
